/**
 * COPYRIGHT
 * ---------------------------------------------------------------------------------------------------------------------
 * Copyright (c) iSOFT INFRASTRUCTURE SOFTWARE CO., LTD. This software is proprietary to
 * iSOFT INFRASTRUCTURE SOFTWARE CO., LTD., and all rights are reserved by iSOFT INFRASTRUCTURE SOFTWARE CO., LTD.
 * Without the express written permission of the company, no organization or individual may copy, install, trial,
 * distribute, or reverse engineer this software. For terms of use and further details, please refer to the End User
 * License Agreement (EULA) or contact us business@i-soft.com.cn for more assistance.
 *
 * This file contains code from iSoft, which is licensed under the LGPL-2.1. However, due to a special exception,
 * you are not required to comply with the provisions of section 6a of LGPL-2.1. Specifically, you may distribute
 * your software, including this file, under terms of your choice, including proprietary licenses, without needing to
 * provide the source code or object code as specified in section 6a. For more details, please refer to the project's
 * LICENSE and EXCEPTION files and the specific exception statement.
 * ---------------------------------------------------------------------------------------------------------------------
 * FILE DESCRIPTION
 * ---------------------------------------------------------------------------------------------------------------------
 * @MCU               : S32K148
 * @file              : Os_Cfg.c
 * @license           : Evaliation
 * @licenseExpiryDate : 
 * @date              : 2025-06-19 10:52:15
 * @customer          : iSoft
 * @description       : Configuration parameter of OS
 * @toolVersion       : 2.2.0.1
 **********************************************************************************************************************/

/*=======[I N C L U D E S]====================================================*/
#include "Os_Cfg.h"
#include "Os_CfgData.h"
#include "Os.h"
#include "Arch_Processor.h"
#include "Os_Internal.h"

/*=======[V E R S I O N   I N F O R M A T I O N]===============================*/
#define     OS_CFG_C_AR_MAJOR_VERSION              19U
#define     OS_CFG_C_AR_MINOR_VERSION              11U
#define     OS_CFG_C_AR_PATCH_VERSION              0U
#define     OS_CFG_C_SW_MAJOR_VERSION              2U
#define     OS_CFG_C_SW_MINOR_VERSION              0U
#define     OS_CFG_C_SW_PATCH_VERSION              0U

/*=======[V E R S I O N  C H E C K]===========================================*/
#if (OS_CFG_C_AR_MAJOR_VERSION != OS_CFG_H_AR_MAJOR_VERSION)
    #error "Os_Cfg.c:Mismatch in Specification Major Version"
#endif
#if (OS_CFG_C_AR_MINOR_VERSION != OS_CFG_H_AR_MINOR_VERSION)
    #error "Os_Cfg.c:Mismatch in Specification Minor Version"
#endif
#if (OS_CFG_C_AR_PATCH_VERSION != OS_CFG_H_AR_PATCH_VERSION)
    #error "Os_Cfg.c:Mismatch in Specification Patch Version"
#endif
#if (OS_CFG_C_SW_MAJOR_VERSION != OS_CFG_H_SW_MAJOR_VERSION)
    #error "Os_Cfg.c:Mismatch in Specification Major Version"
#endif
#if (OS_CFG_C_SW_MINOR_VERSION != OS_CFG_H_SW_MINOR_VERSION)
    #error "Os_Cfg.c:Mismatch in Specification Minor Version"
#endif

/*=======[M A C R O S]========================================================*/
#define  OS_STACK_TOP(stack)    ((Os_StackPtrType)((&(stack)[0]) + (sizeof(stack) / sizeof((stack)[0])) - sizeof((stack)[0])))
#define  OS_STACK_BOTTOM(stack) ((Os_StackPtrType)(stack))

/*=======[I N T E R N A L   D A T A]==========================================*/
/* Ready Queue Manager */

/* ---------------------SpinLock Management---------------------- */
/* ------------------------stack Management---------------------- */
#define OS_START_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"
static VAR(Os_StackDataType, OS_VAR) Os_TaskStack_Idle_Core0[128];
#define OS_STOP_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"

/* -------------------------Task Management---------------------- */
/* Core0 */
/* ------------------------Counter Management--------------------- */
/* Core0 */
#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONST(Os_CounterCfgType, OS_CONST) Os_CounterCfgCore0[CFG_COUNTER_MAX_CORE0] =
{
    {
        65535,	/*osCounterMaxAllowedValue*/
        1,	/*osCounterMinCycle*/
        1,	/*osCounterTicksPerBase*/
        COUNTER_HARDWARE,	/*osCounterType*/
        1000,	/*osSecondsPerTick*/
    },
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CODE
#include "Os_MemMap.h"
FUNC(void, OS_CODE) Os_ArchSystemTimerCore0(void)
{
    (void)Os_IncrementHardCounter(SystemTimer_Core_0);
}
#define OS_STOP_SEC_CODE
#include "Os_MemMap.h"
/* --------------------------Alarm Management---------------------- */
#define OS_START_SEC_CODE
#include "Os_MemMap.h"
static FUNC(void, OS_CODE) AlarmCallback_iSoft_Auto_OsAlarm_10ms_BSW(void)
{
    (void) SetEvent(iSoft_Auto_OsTask_10ms_BSW, iSoft_Auto_OsEvent_10ms_BSW);
}
#define OS_STOP_SEC_CODE
#include "Os_MemMap.h"
#define OS_START_SEC_CODE
#include "Os_MemMap.h"
static FUNC(void, OS_CODE) AlarmCallback_iSoft_Auto_OsAlarm_5ms_BSW(void)
{
    (void) SetEvent(iSoft_Auto_OsTask_5ms_BSW, iSoft_Auto_OsEvent_5ms_BSW);
}
#define OS_STOP_SEC_CODE
#include "Os_MemMap.h"
#define OS_START_SEC_CODE
#include "Os_MemMap.h"
static FUNC(void, OS_CODE) AlarmCallback_iSoft_Auto_OsAlarm_1ms_BSW(void)
{
    (void) SetEvent(iSoft_Auto_OsTask_1ms_BSW, iSoft_Auto_OsEvent_1ms_BSW);
}
#define OS_STOP_SEC_CODE
#include "Os_MemMap.h"
#define OS_START_SEC_CODE
#include "Os_MemMap.h"
static FUNC(void, OS_CODE) AlarmCallback_iSoft_Auto_OsAlarm_100ms(void)
{
    (void)ActivateTask(iSoft_Auto_OsTask_100ms);
}
#define OS_STOP_SEC_CODE
#include "Os_MemMap.h"
#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
static CONST(Os_AlarmAutostartCfgType, OS_CONST) Os_AlarmAutostartCfgCore0[CFG_AUTO_ALARM_MAX_CORE0] =
{
    {
        100,                      /*osAlarmStartTime*/
        ALARM_AUTOSTART_ABSOLUTE,   /*osAlarmAutostartType*/
        100,                      /*osAlarmCycleTime*/
        OSDEFAULTAPPMODE,               /*osAlarmAppMode*/
    },
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONST(Os_AlarmCfgType, OS_CONST) Os_AlarmCfgCore0[CFG_ALARM_MAX_CORE0] =
{
    {
        Os_GetObjLocalId(SystemTimer_Core_0),   /*osAlarmCounter*/
        &Os_AlarmAutostartCfgCore0[0],  /*osAlarmAutostartRef*/
        &AlarmCallback_iSoft_Auto_OsAlarm_100ms,            /*osAlarmCallback*/
    },
    {
        Os_GetObjLocalId(SystemTimer_Core_0),   /*osAlarmCounter*/
        NULL_PTR,                           /*osAlarmAutostartRef*/
        &AlarmCallback_iSoft_Auto_OsAlarm_10ms_BSW,            /*osAlarmCallback*/
    },
    {
        Os_GetObjLocalId(SystemTimer_Core_0),   /*osAlarmCounter*/
        NULL_PTR,                           /*osAlarmAutostartRef*/
        &AlarmCallback_iSoft_Auto_OsAlarm_5ms_BSW,            /*osAlarmCallback*/
    },
    {
        Os_GetObjLocalId(SystemTimer_Core_0),   /*osAlarmCounter*/
        NULL_PTR,                           /*osAlarmAutostartRef*/
        &AlarmCallback_iSoft_Auto_OsAlarm_1ms_BSW,            /*osAlarmCallback*/
    },
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
/* -------------------------Resource Management------------------ */
/* -------------------ScheduleTable Management-------------------- */
/* -----------------------ISR Management-------------------------- */
/* Core0 */
/* ---------------------Application Management---------------------- */
/* App reference task cfg. */
/* App reference alarm cfg. */
/* App reference counter cfg. */
/* App reference schedule_table cfg. */
/* App reference Object cfg. */
/* App reference Trusted Function cfg. */
/* --Os_Application static Configuration-- */
/* Os_App objects host app and access app Configuration. From perspective of task/isr and so on, for coding*/
/* --ISR Accessing Application Configuration-- */
/* -----------------Control block definition--------------------- */
/* SC34: Begin: Cfg for memory protection. */
/* -----------------interface definition--------------------- */
#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONSTP2CONST(Os_AlarmCfgType, AUTOMATIC, OS_CONST) Os_AlarmCfg_Inf[OS_AUTOSAR_CORES] =
{
        Os_AlarmCfgCore0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONST(Os_AlarmType, OS_CONST) Os_CfgAlarmMax_Inf[OS_AUTOSAR_CORES] =
{
	CFG_ALARM_MAX_CORE0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONSTP2CONST(Os_CounterCfgType, AUTOMATIC, OS_VAR) Os_CounterCfg_Inf[OS_AUTOSAR_CORES] =
{
	/* Core0 */
	Os_CounterCfgCore0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONST(Os_CounterType, OS_CONST) Os_CfgCounterMax_Inf[OS_AUTOSAR_CORES] =
{
	CFG_COUNTER_MAX_CORE0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

/* ---------------------task ---------------------- */
/* ++ OsOs Configuration ++ */
#define OS_START_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"
static VAR(Os_StackDataType, OS_VAR) Os_SysStack_Core0[2048];
#define OS_STOP_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
static CONST(Os_StackType, OS_CONST) Os_SystemStackCore0 =
{
    OS_STACK_TOP(Os_SysStack_Core0), OS_STACK_BOTTOM(Os_SysStack_Core0)/* PRQA S 0488 */ /* MISRA Rule 18.4 */
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
/* -- OsOs Configuration -- */

/* ++ OsApplication Configuration ++ */


/* -- OsApplication Configuration -- */


/* ++ OsIoc Configuration ++ */
/* ------------------------ CF_1_7_IOC beginning ---------------------- */
/* PRQA S 1840 ++*/ /* MISRA Rule 10.4 */






/* PRQA S 1840 --*/ /* MISRA Rule 10.4 */
/* ------------------------ CF_1_7_IOC end ---------------------- */
/* -- OsIoc Configuration -- */

/* ++ TimingProtection Configuration ++ */







/* -- TimingProtection Configuration -- */

/* ++ OsIsr Configuration ++ */
#define OS_START_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"
static VAR(Os_StackDataType, OS_VAR) Os_SysTimer_Stack_Core0[512];/*system timer*/
#define OS_STOP_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"
#define OS_START_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"
static VAR(Os_StackDataType, OS_VAR) Os_CAN0_ORed_ADDR_Stack_Core0[512];
#define OS_STOP_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"
#define OS_START_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"
static VAR(Os_StackDataType, OS_VAR) Os_CAN0_ORed_0_15_MB_ADDR_Stack_Core0[512];
#define OS_STOP_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"
#define OS_START_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"
static VAR(Os_StackDataType, OS_VAR) Os_CAN0_ORed_16_31_MB_ADDR_Stack_Core0[512];
#define OS_STOP_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"
#define OS_START_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"
static VAR(Os_StackDataType, OS_VAR) Os_FTM0_Ch0_Ch1_ADDR_Stack_Core0[512];
#define OS_STOP_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
static CONST(Os_StackType, OS_CONST) Os_ISR2StackCore0[CFG_ISR2_MAX_CORE0] =
{
    /* PRQA S 0488 ++ */ /* MISRA Rule 18.4 */
	{OS_STACK_TOP(Os_SysTimer_Stack_Core0), OS_STACK_BOTTOM(Os_SysTimer_Stack_Core0)},/*system timer*/
	{OS_STACK_TOP(Os_CAN0_ORed_ADDR_Stack_Core0), OS_STACK_BOTTOM(Os_CAN0_ORed_ADDR_Stack_Core0)},
	{OS_STACK_TOP(Os_CAN0_ORed_0_15_MB_ADDR_Stack_Core0), OS_STACK_BOTTOM(Os_CAN0_ORed_0_15_MB_ADDR_Stack_Core0)},
	{OS_STACK_TOP(Os_CAN0_ORed_16_31_MB_ADDR_Stack_Core0), OS_STACK_BOTTOM(Os_CAN0_ORed_16_31_MB_ADDR_Stack_Core0)},
	{OS_STACK_TOP(Os_FTM0_Ch0_Ch1_ADDR_Stack_Core0), OS_STACK_BOTTOM(Os_FTM0_Ch0_Ch1_ADDR_Stack_Core0)},
    /* PRQA S 0488 ++ */ /* MISRA Rule 18.4 */
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
static CONST(Os_IsrCfgType, OS_CONST) Os_IsrCfgCore0[CFG_ISR_MAX_CORE0] =
{
    {
        OS_ISR_CATEGORY2,	/*OsIsrCatType*/
        FALSE,	/*OsNestedEnable*/
        OS_ISR_SysTick_ADDR,	/*OsIsrSrc*/
		OS_ARCH_INT_CPU0,	/*OsIsrSrcType*/
    },

    {
        OS_ISR_CATEGORY2,	/*OsIsrCatType*/
        FALSE,				/*OsNestedEnable*/
        OS_ISR_CAN0_ORed_ADDR,/*OsIsrSrc*/
		OS_ARCH_INT_CPU0,	/*OsIsrSrcType*/
    },

    {
        OS_ISR_CATEGORY2,	/*OsIsrCatType*/
        FALSE,				/*OsNestedEnable*/
        OS_ISR_CAN0_ORed_0_15_MB_ADDR,/*OsIsrSrc*/
		OS_ARCH_INT_CPU0,	/*OsIsrSrcType*/
    },

    {
        OS_ISR_CATEGORY2,	/*OsIsrCatType*/
        FALSE,				/*OsNestedEnable*/
        OS_ISR_CAN0_ORed_16_31_MB_ADDR,/*OsIsrSrc*/
		OS_ARCH_INT_CPU0,	/*OsIsrSrcType*/
    },

    {
        OS_ISR_CATEGORY2,	/*OsIsrCatType*/
        FALSE,				/*OsNestedEnable*/
        OS_ISR_FTM0_Ch0_Ch1_ADDR,/*OsIsrSrc*/
		OS_ARCH_INT_CPU0,	/*OsIsrSrcType*/
    },
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONST(Os_IsrType, OS_CONST) Os_CfgIsrMax_Inf[OS_AUTOSAR_CORES] =
{
	CFG_ISR_MAX_CORE0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONST(Os_IsrType, OS_CONST) Os_CfgIsr2Max_Inf[OS_AUTOSAR_CORES] =
{
	CFG_ISR2_MAX_CORE0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONSTP2CONST(Os_StackType, AUTOMATIC, OS_VAR) Os_Isr2Stack_Inf[OS_AUTOSAR_CORES] =
{
	/* Core0 */
	Os_ISR2StackCore0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONSTP2CONST(Os_IsrCfgType, AUTOMATIC, OS_VAR) Os_IsrCfg_Inf[OS_AUTOSAR_CORES] =
{
	/* Core0 */
	Os_IsrCfgCore0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONST(Os_IPLType, OS_CONST) Os_CfgIsr2TplMax_Inf[OS_AUTOSAR_CORES] =
{
	/* Core0 */
	CFG_ISR2_IPL_MAX_CORE0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
/* -- OsIsr Configuration -- */

/* ++ OsResource Configuration ++ */
#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
static CONST(Os_ResourceCfgType, OS_CONST) Os_ResourceCfgCore0[CFG_STD_RESOURCE_MAX_CORE0] =
{
    {
     4U,	/*ceiling*/
     OCCUPIED_BY_TASK,	/*resourceOccupyType*/
     0U,/*rsv1*/
     },
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"


#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONST(Os_ResourceType, OS_CONST) Os_ResScheduler_Inf[OS_AUTOSAR_CORES] =
{
	RES_SCHEDULER_CORE0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONSTP2CONST(Os_ResourceCfgType, AUTOMATIC, OS_VAR) Os_ResourceCfg_Inf[OS_AUTOSAR_CORES] =
{
    Os_ResourceCfgCore0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONST(Os_ResourceType, OS_CONST) Os_CfgResourceMax_Inf[OS_AUTOSAR_CORES] =
{
	CFG_RESOURCE_MAX_CORE0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONST(Os_ResourceType, OS_CONST) Os_CfgStdResourceMax_Inf[OS_AUTOSAR_CORES] =
{
	/* Core0 */
	CFG_STD_RESOURCE_MAX_CORE0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
/* -- OsResource Configuration -- */

/* ++ OsScheduleTable Configuration ++ */






/* -- OsScheduleTable Configuration -- */

/* ++ OsSpinlock Configuration ++ */
/* -- OsSpinlock Configuration -- */

/* ++ OsTask Configuration ++ */
#define OS_START_SEC_VAR_CLEARED_CORE0_UNSPECIFIED
#include "Os_MemMap.h"
static VAR(Os_TaskType, OS_VAR) Os_ActivateQueue_Core0_0[1];
#define OS_STOP_SEC_VAR_CLEARED_CORE0_UNSPECIFIED
#include "Os_MemMap.h"
#define OS_START_SEC_VAR_CLEARED_CORE0_UNSPECIFIED
#include "Os_MemMap.h"
static VAR(Os_TaskType, OS_VAR) Os_ActivateQueue_Core0_1[3];
#define OS_STOP_SEC_VAR_CLEARED_CORE0_UNSPECIFIED
#include "Os_MemMap.h"
#define OS_START_SEC_VAR_CLEARED_CORE0_UNSPECIFIED
#include "Os_MemMap.h"
static VAR(Os_TaskType, OS_VAR) Os_ActivateQueue_Core0_2[2];
#define OS_STOP_SEC_VAR_CLEARED_CORE0_UNSPECIFIED
#include "Os_MemMap.h"
#define OS_START_SEC_VAR_CLEARED_CORE0_UNSPECIFIED
#include "Os_MemMap.h"
static VAR(Os_TaskType, OS_VAR) Os_ActivateQueue_Core0_3[2];
#define OS_STOP_SEC_VAR_CLEARED_CORE0_UNSPECIFIED
#include "Os_MemMap.h"
#define OS_START_SEC_VAR_CLEARED_CORE0_UNSPECIFIED
#include "Os_MemMap.h"
static VAR(Os_TaskType, OS_VAR) Os_ActivateQueue_Core0_4[2];
#define OS_STOP_SEC_VAR_CLEARED_CORE0_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_VAR_CLEARED_CORE0_UNSPECIFIED
#include "Os_MemMap.h"
static VAR(Os_ReadyQueueType, OS_VAR)  Os_ReadyQueueMark_Core0[CFG_PRIORITY_MAX_CORE0];
#define OS_STOP_SEC_VAR_CLEARED_CORE0_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
static CONSTP2VAR(Os_TaskType, OS_CONST, OS_VAR) Os_ReadyQueue_Core0[CFG_PRIORITY_MAX_CORE0] =
{
    Os_ActivateQueue_Core0_0,
    Os_ActivateQueue_Core0_1,
    Os_ActivateQueue_Core0_2,
    Os_ActivateQueue_Core0_3,
    Os_ActivateQueue_Core0_4,
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
static CONST(uint32, OS_CONST) Os_ActivateQueueSize_Core0[CFG_PRIORITY_MAX_CORE0] =
{
    1,
    3,
    2,
    2,
    2,
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
static CONST(Os_PriorityType, OS_CONST) Os_PrioGroupCore0[CFG_PRIORITY_MAX_CORE0] =
{
    0U,
    0U,
    0U,
    0U,
    0U,
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
static CONST(Os_PriorityType, OS_CONST) Os_PrioMaskCore0[CFG_PRIORITY_MAX_CORE0] =
{
    0x0001,
    0x0002,
    0x0004,
    0x0008,
    0x0010,
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"
static VAR(Os_StackDataType, OS_VAR) Os_iSoft_Auto_OsTask_10ms_BSW_Stack[512];
#define OS_STOP_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"
#define OS_START_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"
static VAR(Os_StackDataType, OS_VAR) Os_iSoft_Auto_OsTask_5ms_BSW_Stack[512];
#define OS_STOP_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"
#define OS_START_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"
static VAR(Os_StackDataType, OS_VAR) Os_iSoft_Auto_OsTask_1ms_BSW_Stack[512];
#define OS_STOP_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"
#define OS_START_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"
static VAR(Os_StackDataType, OS_VAR) Os_iSoft_Auto_DEFAULT_OsTask_Init_Stack[512];
#define OS_STOP_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"
#define OS_START_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"
static VAR(Os_StackDataType, OS_VAR) Os_iSoft_Auto_OsTask_100ms_Stack[512];
#define OS_STOP_SEC_VAR_STACK_CORE0
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
static CONST(Os_StackType, OS_CONST) Os_TaskStackCore0[CFG_TASK_MAX_CORE0] =
{
	/* PRQA S 0488 ++ */ /* MISRA Rule 18.4 */
{OS_STACK_TOP(Os_iSoft_Auto_OsTask_10ms_BSW_Stack), OS_STACK_BOTTOM(Os_iSoft_Auto_OsTask_10ms_BSW_Stack)},
{OS_STACK_TOP(Os_iSoft_Auto_OsTask_5ms_BSW_Stack), OS_STACK_BOTTOM(Os_iSoft_Auto_OsTask_5ms_BSW_Stack)},
{OS_STACK_TOP(Os_iSoft_Auto_OsTask_1ms_BSW_Stack), OS_STACK_BOTTOM(Os_iSoft_Auto_OsTask_1ms_BSW_Stack)},
	{OS_STACK_TOP(Os_iSoft_Auto_DEFAULT_OsTask_Init_Stack), OS_STACK_BOTTOM(Os_iSoft_Auto_DEFAULT_OsTask_Init_Stack)},
	{OS_STACK_TOP(Os_iSoft_Auto_OsTask_100ms_Stack), OS_STACK_BOTTOM(Os_iSoft_Auto_OsTask_100ms_Stack)},
    {OS_STACK_TOP(Os_TaskStack_Idle_Core0), OS_STACK_BOTTOM(Os_TaskStack_Idle_Core0)}
	/* PRQA S 0488 -- */ /* MISRA Rule 18.4 */
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
static CONST(Os_TaskCfgType, OS_CONST) Os_TaskCfgCore0[CFG_TASK_MAX_CORE0] =
{
	{
        &Os_TaskEntry_iSoft_Auto_OsTask_10ms_BSW,	/*osTaskEntry*/
        Os_GetObjLocalId(iSoft_Auto_OsTask_10ms_BSW),	/*osTaskStackId*/
        1,  /*osTaskActivation*/
        2,  /*osTaskPriority*/
        OS_PREEMPTIVE_FULL,	/*osTaskSchedule*/
        0U,/*osRsv1*/
        OS_NULL_APPMODE,	/*osTaskAutoStartMode*/
    },
	{
        &Os_TaskEntry_iSoft_Auto_OsTask_5ms_BSW,	/*osTaskEntry*/
        Os_GetObjLocalId(iSoft_Auto_OsTask_5ms_BSW),	/*osTaskStackId*/
        1,  /*osTaskActivation*/
        3,  /*osTaskPriority*/
        OS_PREEMPTIVE_FULL,	/*osTaskSchedule*/
        0U,/*osRsv1*/
        OS_NULL_APPMODE,	/*osTaskAutoStartMode*/
    },
	{
        &Os_TaskEntry_iSoft_Auto_OsTask_1ms_BSW,	/*osTaskEntry*/
        Os_GetObjLocalId(iSoft_Auto_OsTask_1ms_BSW),	/*osTaskStackId*/
        1,  /*osTaskActivation*/
        4,  /*osTaskPriority*/
        OS_PREEMPTIVE_FULL,	/*osTaskSchedule*/
        0U,/*osRsv1*/
        OS_NULL_APPMODE,	/*osTaskAutoStartMode*/
    },

	{
        &Os_TaskEntry_iSoft_Auto_DEFAULT_OsTask_Init,	/*osTaskEntry*/
        Os_GetObjLocalId(iSoft_Auto_DEFAULT_OsTask_Init),	/*osTaskStackId*/
        1,  /*osTaskActivation*/
        1,  /*osTaskPriority*/
        OS_PREEMPTIVE_NON,	/*osTaskSchedule*/
        0U,/*osRsv1*/
        OSDEFAULTAPPMODE,	/*osTaskAutoStartMode*/
    },
	{
        &Os_TaskEntry_iSoft_Auto_OsTask_100ms,	/*osTaskEntry*/
        Os_GetObjLocalId(iSoft_Auto_OsTask_100ms),	/*osTaskStackId*/
        1,  /*osTaskActivation*/
        1,  /*osTaskPriority*/
        OS_PREEMPTIVE_FULL,	/*osTaskSchedule*/
        0U,/*osRsv1*/
        OS_NULL_APPMODE,	/*osTaskAutoStartMode*/
    },
    {
       	&Os_TaskEntry_IdleCore0,			/*osTaskEntry*/
		Os_GetObjLocalId(OS_TASK_IDLE_CORE0),	/*osTaskStackId*/
		1,										/*osTaskActivation*/
		0,										/*osTaskPriority*/
		OS_PREEMPTIVE_FULL,						/*osTaskSchedule*/
		0U,										/*osRsv1*/
		OS_ALL_APPMODE,							/*osTaskAutoStartMode*/
    }
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONST(Os_TaskType, OS_CONST) Os_CfgExtendTaskMax_Inf[OS_AUTOSAR_CORES] =
{
	CFG_EXTENDED_TASK_MAX_CORE0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONSTP2CONST(uint32, AUTOMATIC, OS_VAR) Os_ActivateQueueSize_Inf[OS_AUTOSAR_CORES] =
{
	/* Core0 */
	Os_ActivateQueueSize_Core0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONSTP2CONST(Os_TaskRefType, AUTOMATIC, OS_VAR) Os_ReadyQueue_Inf[OS_AUTOSAR_CORES] =
{
	/* Core0 */
	Os_ReadyQueue_Core0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONSTP2CONST(Os_PriorityType, AUTOMATIC, OS_VAR) Os_PrioGroup_Inf[OS_AUTOSAR_CORES] =
{
	/* Core0 */
	Os_PrioGroupCore0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONSTP2CONST(Os_PriorityType, AUTOMATIC, OS_VAR) Os_PrioMask_Inf[OS_AUTOSAR_CORES] =
{
	/* Core0 */
	Os_PrioMaskCore0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"


#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONST(uint16, OS_CONST) Os_CfgPriorityMax_Inf[OS_AUTOSAR_CORES] =
{
	/* Core0 */
	CFG_PRIORITY_MAX_CORE0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONSTP2VAR(Os_ReadyQueueType, AUTOMATIC, OS_VAR) Os_ReadyQueueMark_Inf[OS_AUTOSAR_CORES] = /* PRQA S 3432 */ /* MISRA Rule 20.7 */
{
	/* Core0 */
	Os_ReadyQueueMark_Core0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONST(uint8, OS_CONST) Os_CfgPriorityGroup_Inf[OS_AUTOSAR_CORES] =
{
	/* Core0 */
	CFG_PRIORITY_GROUP_CORE0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONSTP2CONST(Os_StackType, AUTOMATIC, OS_VAR) Os_SystemStack_Inf[OS_AUTOSAR_CORES] =
{
	/* Core0 */
	&Os_SystemStackCore0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONSTP2CONST(Os_TaskCfgType, AUTOMATIC, OS_CONST) Os_TaskCfg_Inf[OS_AUTOSAR_CORES] =
{
	Os_TaskCfgCore0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONSTP2CONST(Os_StackType, AUTOMATIC, OS_CONST) Os_TaskStack_Inf[OS_AUTOSAR_CORES] =
{
	Os_TaskStackCore0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONST(uint16, OS_CONST) Os_CfgTaskMax_Inf[OS_AUTOSAR_CORES] =
{
	CFG_TASK_MAX_CORE0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
CONST(uint16, OS_CONST) Os_TASK_IDLE_Inf[OS_AUTOSAR_CORES] =
{
	OS_TASK_IDLE_CORE0
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
/* -- OsTask Configuration -- */

/* ++ ServiceProtection Configuration ++ */






#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
static CONST(uint64, OS_CONST) Os_EventAccessMask_iSoft_Auto_OsTask_10ms_BSW[1] =
{
    0x1U,
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
static CONST(uint64, OS_CONST) Os_EventAccessMask_iSoft_Auto_OsTask_5ms_BSW[1] =
{
    0x1U,
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
static CONST(uint64, OS_CONST) Os_EventAccessMask_iSoft_Auto_OsTask_1ms_BSW[1] =
{
    0x1U,
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
static CONST(uint64, OS_CONST) Os_EventAccessMask_iSoft_Auto_DEFAULT_OsTask_Init[1] =
{
    0x0U,
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
static CONST(uint64, OS_CONST) Os_EventAccessMask_iSoft_Auto_OsTask_100ms[1] =
{
    0x0U,
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
static CONST(uint64, OS_CONST) Os_EventAccessMask_OS_TASK_IDLE_CORE0[1] =
{
	0x0000U
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"

#define OS_START_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"
static CONSTP2CONST(uint64, OS_VAR, OS_CONST) Os_TaskEventAccessMaskCore0[CFG_TASK_MAX_CORE0] =
{
    Os_EventAccessMask_iSoft_Auto_OsTask_10ms_BSW,
    Os_EventAccessMask_iSoft_Auto_OsTask_5ms_BSW,
    Os_EventAccessMask_iSoft_Auto_OsTask_1ms_BSW,
    Os_EventAccessMask_iSoft_Auto_DEFAULT_OsTask_Init,
    Os_EventAccessMask_iSoft_Auto_OsTask_100ms,
	Os_EventAccessMask_OS_TASK_IDLE_CORE0,
};
#define OS_STOP_SEC_CONST_UNSPECIFIED
#include "Os_MemMap.h"






/* --Resource Accessing Application Configuration-- */











/* -- ServiceProtection Configuration -- */


/*=======[E N D   O F   F I L E]==============================================*/